package com.wkbb.sports.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.wkbb.common.base.BaseService;
import com.wkbb.common.dto.ResultDTO;
import com.wkbb.common.dto.basic.GradeDto;
import com.wkbb.common.vo.Tag;
import com.wkbb.sports.dto.SettingDto;
import com.wkbb.sports.model.HlifeBanner;
import com.wkbb.sports.model.HlifeSportLevel;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

public interface SettingService extends BaseService {

    List<GradeDto> getOrgGradeList(Integer gradeType);

    SettingDto getOrgSetting(Long orgId,Integer gradeType);

    void saveOrgSetting(SettingDto settingDto);

    void putBanner(HlifeBanner hlifeBanner) throws Exception;

    void delBanner(Long id);

    PageInfo<HlifeBanner> getBannerListByPage(Map<String, Object> params, int pageNo, int pageSize);

    List<HlifeSportLevel> getSportLevelList(Map<String, Object> map);

    void putSportLevel(HlifeSportLevel data);

    ResultDTO<Boolean> putTag(Tag data);

    PageInfo<Tag> getTagListByPage(Map<String, Object> params, int pageNo, int pageSize);

    List<Tag> getTagList(Map<String, Object> params);

    List<Tag> getCategoryList(Map<String, Object> params);
}
